package com.vickw.springcloud.dao;

import com.vickw.springcloud.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @version 1.0
 * @Description：
 * @Author VickW
 * @Date 2022/2/16 23:09
 */
@Repository
@Mapper // 是ibatis下面的注解 //@Repositoty有时候会有问题
public interface PaymentDao {
    int creatPayment(Payment payment);

    Payment getPaymentById(@Param("id") Long id);
}
